widget-factory: Fix some layout issues
authorTimm Bäder <mail@baedert.org>
Fri, 19 Jan 2018 08:53:39 +0000 (09:53 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 19 Jan 2018 08:53:39 +0000 (09:53 +0100)
We have to explicitly set some of these to their default values so
expand-set is TRUE and the boxes stop propagating their expansion state
up the hierarchy.

demos/widget-factory/widget-factory.ui

index f45bda79824ae45f2d7ba1fcbf2fd6d22b65ebcb..8474d08d76bcba73e313b868e924ea1962d9d8e3 100644 (file)
@@ -518,6 +518,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
                         </child>
                         <child>
                           <object class="GtkBox">
+                            <property name="hexpand">0</property>
                             <style>
                               <class name="linked"/>
                             </style>
@@ -1756,6 +1757,7 @@ microphone-sensitivity-medium-symbolic</property>
                             <property name="shadow-type">in</property>
                             <property name="hscrollbar-policy">never</property>
                             <property name="min-content-height">200</property>
+                            <property name="hexpand">0</property>
                             <child>
                               <object class="GtkListBox" id="listbox">
                                 <property name="selection-mode">none</property>
@@ -2479,7 +2481,6 @@ microphone-sensitivity-medium-symbolic</property>
                             <property name="hscrollbar-policy">never</property>
                             <property name="vscrollbar-policy">always</property>
                             <property name="height-request">300</property>
-                            <property name="halign">start</property>
                             <property name="shadow-type">in</property>
                             <child>
                               <object class="GtkTreeView" id="charletree">